package com.naiterui.ehp.bs.patient.service;

import com.naiterui.common.repository.page.PageParamVO;
import com.naiterui.common.repository.page.PageVO;
import com.naiterui.ehp.bp.support.exception.ResponseVO;
import com.naiterui.ehp.bs.doctor.vo.PatientRemarkInfoVO;
import com.naiterui.ehp.bs.doctor.vo.PatientVo;
import com.naiterui.ehp.bs.patient.vo.requestparam.PatientInquirerParam;
import com.naiterui.ehp.bs.patient.vo.requestparam.PatientParam;

public interface IPatientSyncService {

    // 添加患者信息
    public void savePatient(PatientParam patientParam);

    // 添加就诊人
    public ResponseVO savePatientInquirer(PatientInquirerParam patientInquirerParam);

    // 删除患者就诊人
    public void deletePatientInquirer(PatientInquirerParam patientInquirerParam);

    // 医生审核患者（接受）
    public ResponseVO auditDoctorPatient(Long doctorId, Long patientId);

    // 医生解除患者关系
    public ResponseVO removeDoctorPatient(Long doctorId, Long patientId);

    // 医生查询待审核患者列表(分页)
    public PageVO<PatientVo> queryDoctorPatientAuditPage(Long doctorId, PageParamVO pageParamVO);

    // 发送系统消息
    public void sendSystemMessage(Long patientId, Long doctorId, Integer type, Long userId);

    // 查询医生患者是否存在关系
    public ResponseVO queryDoctorPatientIsFriend(Long doctorId, Long patientId);

    // 查询医生今日患者
    public Long queryDoctorPatientToday(Long doctorId);
}
